package com.example.flower_shop.vo.order;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class OrderDetailResp {
    @Schema(description = "订单id")
    private Long orderId;
    @Schema(description = "订单编号")
    private String orderNo;
    @Schema(description = "订单详情")
    private List<OrderInfoResp> orderInfoList;
    @Schema(description = "支付方式")
    private String payType;
    @Schema(description = "支付时间")
    private LocalDateTime payTime;
    @Schema(description = "配送方式")
    private Integer shippingType;
    @Schema(description = "订单状态")
    private Integer status;
    @Schema(description = "退款状态")
    private Integer refundStatus;
    @Schema(description = "收货人")
    private String realName;
    @Schema(description = "收货人")
    private String userPhone;
    @Schema(description = "收货地址")
    private String userAddress;
    @Schema(description = "实付金额")
    private BigDecimal payPrice;
    @Schema(description = "下单时间")
    private LocalDateTime createTime;
}
